package com.file.manage.infrastructure.base.dto.query;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName: PageQueryDTO
 * @author: hsy
 * @date: 2022/11/15 20:19
 * @description: 分页查询DTO
 */
@Data
@Schema(title = "分页查询")
public class PageQuery<T> implements Serializable {

    @Schema(title = "当前页")
    private int current;

    @Schema(title = "每页限制数量")
    private int limit;

    @Schema(title = "查询条件")
    T entity;

}
